package ch07.proxy;

/**
 * @description: 追求者实现送礼物接口
 * @author: Fesine
 * @createTime:2016/8/29 9:24
 * @update:修改内容
 * @author: Fesine
 * @updateTime:2016/8/29 9:24
 */
public class Pursuit extends Person implements GiveGift {

    SchoolGirl mm;
    public Pursuit(SchoolGirl mm) {
        this.mm = mm;
    }

    public void giveDolls() {
        System.out.println(mm.getName()+" 送你洋娃娃");
    }

    public void giveFlowers() {
        System.out.println(mm.getName() + " 送你鲜花");
    }

    public void giveChocolate() {
        System.out.println(mm.getName() + " 送你巧克力");
    }
}
